﻿using System;
using Colligate;


namespace OrgDataSource
{
    public class ClassInfo:IModuleInfo
    {
        public ModuleClassInfo[] ClassList
        {
            get {
                var mc = new[]
                {
                    new ModuleClassInfo
                    {
                        Guid = System.Guid.NewGuid().ToString(),
                        Name = "SysDataSource.SysModel",
                        TypeName = "TaskDataSource",
                        ExtendInterface = string.Empty,
                        DatatypeList = new[]
                        {
                            new DataTypeInfo{ Guid=System.Guid.NewGuid().ToString(),Name="config"}
                        }
                    }
                };
                return mc;
            }
        }

        public string Descript
        {
            get { return "WebFramework框架自有数据库"; }
        }

        public string Guid
        {
            get { return "583A3358-4F66-44E7-B861-05F1D112E1BD"; }
        }

        public void InitEnvironment(IDataService dataService)
        {
            throw new NotImplementedException();
        }

        public string Name
        {
            get { return "WebFrameworkDataSource"; }
        }
    }
}
